Release 10.1A: OpenEdge Development:
Programming Interfaces
prordbd() - Read DATE Field
The
prordbd()function reads the value of aDATEfield in a shared buffer.On successful completion,
prordbd()returns 0; otherwise, it returns a non-zero value:Syntax
pbufnamThis input parameter points to the name of the specified shared buffer.
fhandleThis input parameter is the field handle that
profldix()returns for the specified field.indexThis input parameter specifies an index value for an array field. If the field is not an array, you must set the value of
indexto 0.pyearThis output parameter points to an integer where
prordbd()returns the value of year.pmonthThis output parameter points to an integer where
prordbd()returns the value of month.pdayThis output parameter points to an integer where
prordbd()returns the value of day.punknownThis output parameter points to an integer where
prordbd()returns 1 if the field has Unknown value (?), and returns 0 otherwise.See also
profldix() - Return Field Handle, prordbc() - Read CHARACTER Field, prordbi() - Read INTEGER Field, prordbl() - Read LOGICAL Field, prordbn() - Read DECIMAL Field, prordbr() - Read RECID Field, prowtbd() - Write DATE Field
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |